package org.blogwu.learn.designpattern.chapter15.v1;

public class DeponsitAccount implements Account {
    @Override
    public Account openAccount() {
        System.out.println("打开定期账户");
        return new DeponsitAccount();
    }

    @Override
    public void showAccountType() {
        System.out.println("这是一个定期账户");
    }
}
